package com.ys.dubbo.provider.dubbo.impl;

import com.ys.dubbo.client.dubbo.DemoDubboService;

//import com.ys.dubbo.provider.service.DemoService;
import com.ys.dubbo.sboot.service.DemoService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("demoDubboService")
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class DemoDubboDubboServiceImpl implements DemoDubboService {

    private final DemoService demoService;




    @Override
    public void sayHello() {
        demoService.sayHello();
    }
}
